import React, { Fragment } from 'react';

export const ContextFun = props => {
    const { count, type } = props;
    console.group('ContextFun');
    console.log('count', count);
    console.log('type', type);
    console.groupEnd();
    return (
        <Fragment>
            <p>ContextFun传入的counter: {count}</p>
        </Fragment>
    );
};
